package cn.qlin.mvc.orm.bean;


public class Where {
	private StringBuffer wheresql = new StringBuffer();
	
	public void add(String where){
		wheresql.append(where+" and ");
	}
	public String get(){
		if(wheresql.length()==0)return null;
		return wheresql.substring(0,wheresql.length()-5);
	}
}